package com.itcast.demo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

//@Service
@Component
public class OrderService {
    @Autowired
    private UserService userService;
    
    public void test(){
        System.out.println("true = " + true);
        System.out.println(OrderService.class);
        System.out.println(userService.getClass());
    }
}
